import React from "react";
import Button from "@/component/button/";
import "./index.scss";
export default props => {
	return (
		<div
			style={props.style}
			className={
				props.isHiddenBotton
					? "xhd-credit-button-wrapper-static"
					: "xhd-credit-button-wrapper"
			}
		>
			<Button onClick={props.onClick}>{props.children}</Button>
			{/* <div className="xhd-credit-button-line"></div> */}
		</div>
	);
};
